<div class="contentContainer">
	<h3><?php echo $heading_title; ?></h3>
	<div class="">
		<table class="table_main" border="0" cellpadding="0" cellspacing="0">
		<?php foreach ($products as $i => $product) { ?>
		<?php if ($i % 4 == 0){ ?>
			<tr>
		<?php } ?>
				<td class="td_main" valign="top">
					<div class="block" style=" margin-right:8px ;">
						<a class="img_pro " href="<?php echo $product['href']; ?>">
							<img src="<?php echo $product['thumb']; ?>" alt="<?php echo $product['name']; ?>" title="<?php echo $product['name']; ?>" height="161" width="162">
						</a>
						<a class="name_product" href="<?php echo $product['href']; ?>">
							<?php echo $product['name']; ?>
						</a>
						<div class="clear"></div>
						<div class="right ">
					 		<div class="price_price"><?php echo $product['price']; ?></div>
						</div>
						<a class="pin_to left" onclick="addToCart('<?php echo $product['product_id']; ?>');">Mua</a>
						<div class="clear"></div>
					</div>
			   	</td>
		<?php if ($i % 4 == 3){ ?>	
			</tr>
		<?php } ?>
		<?php } ?>
		</table>
		<div class="clear"></div>  
	</div>
</div>
